package com.ecreditpal.audio.platform;

import com.ecreditpal.audio.AsrRunner;
import com.ecreditpal.audio.platform.ali.AliyunAsr;
import com.ecreditpal.audio.platform.ali.RealtimeAsr;
import com.ecreditpal.audio.platform.baidu.BaiduAsr;
import com.ecreditpal.audio.platform.tencent.TencentAsr;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;

/**
 * @author lifeng
 * @version 1.0 on 2018/6/20.
 */
@Data
public class Config {
    public static final String ALIYUN = "ALIYUN";
    public static final String BAIDU = "BAIDU";
    public static final String TENCENT = "TENCENT";


    public static final HashMap<String,Class> PLATFORMS = new HashMap<String,Class>()
    {{
        put(ALIYUN, AliyunAsr.class);
        put(BAIDU, BaiduAsr.class);
        put(TENCENT, TencentAsr.class);
    }};


    private String appId;
    private String appKey;
    private String appSecret;
    private Integer byteRate;
    // 平台
    private String operation;
}
